package com.dmall.modules.admin.entity;


import javax.persistence.Table;

/**
 * 部门
 * @author Chen 2017/12/5
 */
@Table(name = "admin_dept")
public class AdminDept extends BaseEntity {
    private String name;//部门名称
    private Long parentId;//父部们ID
    private Long headId;    //负责人ID

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }
}
